/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package cn.ekuma.epos.datalogic.businesslogic.orderprocess;

import net.xeoh.plugins.base.Plugin;
import cn.ekuma.epos.datalogic.I_DataLogicERP;

import com.openbravo.bean.erp.Order;
import com.openbravo.data.basic.BasicException;

/**
 *
 * @author Administrator
 */
public interface I_OrderProcessFlow extends Plugin{
    public static String PROCESSTYPE_Default="default";

    public void saveOrder(I_DataLogicERP dlERP,Order order) throws BasicException;

    public void deleteOrder(I_DataLogicERP dlERP,Order order) throws BasicException;

    public Order loadOrder(I_DataLogicERP dlERP,String orderid) throws BasicException;
    
    public String getName();
}
